﻿@{
    var data = (BooksOnline.User)ViewData.Model;
    
    <table>
        <thead>
            <h4>Associated Roles</h4>
            <th>Name</th>            
        </thead>

    @foreach (BooksOnline.UserRole userrole in data.UserRoles)
    { 
        <tr>
            <td>@userrole.Role.Name</td>            
        </tr>    
    }

    </table>
    
}